package com.lin.mapper;


import com.lin.pojo.Dish;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishMapper {
    public Integer SelectCount_ByName(Integer type,String name);
    public List<Dish> Select_ByType(Integer pageNum, Integer pageSize, Integer type, String name);

    public Integer SelectPopularity(String name);

    public  Integer UpdatePopularity(String name,Integer cur_popularity);

    /*********************** 管理端 *********************************/
    public List<Integer> SelectPopularity_ByType(Integer type);
    public List<String> SelectDish_ByType(Integer type);


    /*********************** 管理端 *********************************/
}
